﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UlsStudio.Engine
{
    /// <summary>
    /// Represents a log entry of no particular type (event-log or ULS).
    /// </summary>
    public abstract class AbstractLogEntry
    {
        #region Privates & Constructors

        private string _msg = string.Empty;
        private string _source = string.Empty;
        private string _timeStampString = string.Empty;
        private DateTime _dateTime = DateTime.MinValue;
        private string _severityString = string.Empty;

        public AbstractLogEntry()
        {
        }

        #endregion

        #region Properties

        public string Message
        {
            get { return _msg; }
            set { _msg = value; }
        }
        public string DateTimeString
        {
            get { return _timeStampString; }
            set { _timeStampString = value; }
        }
        public DateTime DateTime
        {
            get { return _dateTime; }
            set { _dateTime = value; }
        }

        public string Source
        {
            get { return _source; }
            set { _source = value; }
        }

        #endregion
    }
}
